package com.lin.springcloud;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.netflix.eureka.EnableEurekaClient;
import org.springframework.cloud.openfeign.EnableFeignClients;

/**
 * @ author:lin tingfeng
 * @ data:2021/10/9-18:02
 */
// Ribbon和Eureka整合之后,客户端可直接调用,不用更新ip地址和端口号
@SpringBootApplication
@EnableEurekaClient
@EnableFeignClients(basePackages = "com.lin.springcloud.service")
public class DeptCosumer_feign {
    public static void main(String[] args) {
        SpringApplication.run(DeptCosumer_feign.class);
    }
}
